package com.calmcar.adas.apiserver;

/**
 * ADAS全局配置信息
 */

public class AdasConf {
    //SDK VERSION
    public static  String SDK_VERSION="2.2.01";//2.1.49 -》2.2.01
    //中心点X坐标
    public static  double  centerX=0;
    /*
     *中心点Y坐标
     */
    public static  double  centerY=0;
    /**
     * 文档注释哈哈
     */
    public static  double  MAT_WIDHT=0;
    public static  double  MAT_HEIGHT=0;


    public static  double  FRAME_WIDHT=0;
    public static  double  FRAME_HEIGHT=0;

    public static  double  MAT_SCALE=2;

    public static  boolean  LANE_DETECT_OPEN = false;
    public static  boolean  CAR_DETECT_OPEN  = false;


    public static  double ROI_LEFT_X=0;
    public  static  double ROI_LEFT_Y=0;
    public  static  double ROI_WIDTH=0;
    public  static  double ROI_HEIGHT=0;

    public   static int  RUN_MODE = 1;

    public static  String  WIDTH_HEIGHT ="864*480";
    public static  int IN_FRAME_WIDTH=864;
    public static  int IN_FRAME_HEIGHT=480;

    public static double CAR_WARN_LEVEL_ONE_TIME=8.5;//8
    public static double CAR_WARN_LEVEL_TWO_TIME=5.5;//5

    public static double CAR_WARN_ABS_LEVEL_ONE_TIME=0.9;//8  2.5 2  1.9-->1.2
    public static double CAR_WARN_ABS_LEVEL_TWO_TIME=0.5;//5  0.6

   public static double CAR_LAUNCH_DIS=4;//4.4-4
   public static double CHECK_TIMES=2;//3

    public static double CAR_LAUNCH_ABS_DIS=0.8;//8-6
    public static double CHECK_ABS_TIMES=1;//3

    public static double   VP_X= -1;
    public static double   VP_Y = -1;

    public static double   VP_X_TEMP= -1;
    public static double   VP_Y_TEMP = -1;

    public static boolean  IS_ACTIVE=false;

    public static int     FCW_WARN_LEVEL = 3;
    public static int     FCW_LAUNCH_LEVEL=3;

    public static double  CONVERT_PARA = 554;// 卡士特内参
//    public static double  CONVERT_PARA = 554;// 卡士特内参
//    public static double  CONVERT_PARA = 700;// 天安内参 1280
    public static double  CAR_HEAD= 1.5;

    public static boolean CHECK_OK=false;

}